{{response.files.append(URL(r=request,c='static',f='jquery.dataTables.min.js'))}}
{{response.files.append(URL(r=request,c='static',f='demo_table.css'))}}
{{extend 'layout.html'}}

<table id="list_organizations">
<th>Organization</th>
<th>Url</th>
<th>Address</th>
<th>Phone</th>
<th>Phone Long Distance</th>
<th>Actions</th>
{{for organization in organizations:}}
<tr>
    <td><a href="{{=URL(r=request,f='view_organization',args=organization.id)}}">{{=organization.name}}</a></td>
    <td>{{=organization.url}}</td>
    <td>{{=organization.address}}</td>
    <td>{{=organization.phone}}</td>
    <td>{{=organization.phone_long_distance}}</td>
    <td>    <a href="{{=URL(r=request,f='edit_organization',args=organization.id)}}">Edit Organization</a>
    </td>
</tr>
{{pass}}
</table>

<!-- 
{{=BEAUTIFY(session)}}
 -->
